package com.taobao.daxue.ui
{
	import org.aswing.JList;
	import org.aswing.JPanel;
	import org.aswing.JScrollPane;
	import org.aswing.LayoutManager;
	import org.aswing.SoftBoxLayout;
	import org.aswing.VectorListModel;
	
	public class NotePanel extends JPanel
	{
		private var m_listModel:VectorListModel = new VectorListModel();
		private var m_lstNote:JList;
		private var m_sclNote:JScrollPane;
		
		
		public function NotePanel(layout:LayoutManager=null)
		{
			super(layout);
			createUI();
		}
		
		
		private function createUI():void {
			// set layout
			setLayout(new SoftBoxLayout(SoftBoxLayout.Y_AXIS, 2, SoftBoxLayout.LEFT));
			
			m_lstNote = new JList(m_listModel);
			m_sclNote = new JScrollPane(m_lstNote);
			append(m_sclNote);
		}
	}
}